<?php 
/**
* @orm tableName testitems
*/
class DomArTestClass extends DomArObject {
	
	/**
	* @orm char(30)
	*/
	public $name;
	
	/**
	* @orm has one DomArSubItem inverse parent
	*/
	public $object;
	
	/**
	* @param String $name
	*/
	public function construct( $name ) {
		$this->name = $name;
	}

}

/**
* @orm tableName subitems
*/
class DomArSubItem {
	
	/**
	* @orm char(30)
	*/
	public $name;
	
	/**
	* @orm has one DomArTestClass inverse object
	*/
	public $parent;
	
	/**
	* @param String $name
	*/
	public function construct( $name ) {
		$this->name = $name;
	}

}

/**
* @orm tableName subitems
*/
class DomArExtendedSubItem extends DomArSubItem {
	
	/**
	* @orm int(11)
	*/
	public $num;
	
	/**
	* @param String $name
	*/
	public function construct( $name, $num ) {
		parent::construct( $name );
		$this->num = $num;
	}
	
}
?>